<cfcomponent>
	<cffunction name="iconSettings" access="public" returntype="any">
		<cfargument name="icon" type="any" required="yes">
    <cfargument name="list" type="any" required="yes">
   	<cfset session.hello = 'hi joel'>
		<!--- If session.desktop (xml) is not defined --->
    <cfif not isDefined('session.desktop')>
    <cfset session.desktop = ''>
    	<cfoutput>
        <cfxml variable="myXmlObj" casesensitive="no">
          <desktop>
            <ul>
              <name>#list#</name>
              <icon>#icon#</icon>
            </ul>
          </desktop>
        </cfxml>
			</cfoutput
    	<cfset session.desktop = xmlnew()>
      <cfset session.desktop = myXmlObj>
    <!--- If session.desktop (xml) is defined --->
    <cfelse>
    	<cfif isXml(session.desktop)>
      	<cfset session.temp = xmlSearch(session.desktop, "/desktop/ul")>
        
      </cfif>  
    </cfif>
	</cffunction>
</cfcomponent>